﻿using sql_data_generator.FieldOptions;

namespace sql_data_generator.UserControls
{
    public interface IUserControl
    {
        void SetOptions(BaseFieldOptions options);

        BaseFieldOptions GetFieldOptions();

        void UpdateControls(BaseFieldOptions options);
    }

    public interface IUserControl<TOptions>
    {
        TOptions GetFieldOptionsT();

        void SetOptionsAndUpdateControls(TOptions options);
    }
}